
// This function shows output text box and fills it with
// the corresponding text.  The variable number represents
// the hotspot number.  
function showText( number )
{
	// show the output box
	document.getElementById( "output-box" ).style.display = "block";
	
	if( number == 1 )
	{
		document.getElementById( "output-text" ).innerHTML = "Large pieces of space rock from the Asteroid belt.";
	}
	else if( number == 2 )
	{
		document.getElementById( "output-text" ).innerHTML = "A smaller planet that orbits the Sun but has not cleared its orbital path. There are dwarf planets in the Asteroid Belt.";
	}
	else if( number == 3 )
	{
		document.getElementById( "output-text" ).innerHTML = "The light seen when a space object hits the Earth’s atmosphere, sometimes referred to as a shooting star.";
	}
	else if( number == 4 )
	{
		document.getElementById( "output-text" ).innerHTML = "The piece of a space object that land on Earth from a meteoroid.";
	}
	else if( number == 5 )
	{
		document.getElementById( "output-text" ).innerHTML = "The space object or debris that flies through space.";
	}
	else if( number == 6 )
	{
		document.getElementById( "output-text" ).innerHTML = "A space object that is smaller than a planet but is not a planet, dwarf planet or a comet.";
	}
}

//function hideOutput()
//{
//	document.getElementById( "output-box" ).style.display = "none";
//}